//该文件定义所有的游戏配置

export default {
  
  
    wall: {//墙的数量
        num: 30,
    },
    tank: {//坦克的数量
        num: 5,
        step: 1,//ai坦克每一步移动一个像素
    },
    bullet: {//子弹
        width: 4,//宽高
        height: 4,
        speed: {//速度
            player: 5,//玩家速度快，
            tank: 3,//敌方坦克慢
        },
    },
    player: {//玩家每一步移动10像素
        step: 10,
    },
  
    images: {//所有图片信息
        wall: "../images/wall/wall.gif",
        tankTop: "../images/tank/top.gif",
        tankLeft: "../images/tank/left.gif",
        tankRight: "../images/tank/right.gif",
        tankBottom: "../images/tank/bottom.gif",
  
        bullet: "../images/bullet/bullet.jpg",
  
        playerTop: "../images/player/top.gif",
        playerRight: "../images/player/right.gif",
        playerBottom: "../images/player/bottom.gif",
        playerLeft: "../images/player/left.gif",
    },
  }